package com.zmcn.msg.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 手机号码信息实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_PHONE")
public class Phone implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -528523510150728375L;

	/**
	 * 号码ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "PHONE_ID", length = 32)
	private String phoneId;

	/**
	 * 用户主键
	 */
	@Column(name = "USER_ID", length = 32)
	private String userId;

	/**
	 * 姓名
	 */
	@Column(name = "NAME", length = 50)
	private String name;

	/**
	 * 手机号码
	 */
	@Column(name = "PHONE_NO", length = 15)
	private String phoneNo;

	public String getPhoneId() {
		return phoneId;
	}

	public void setPhoneId(String phoneId) {
		this.phoneId = phoneId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

}